package com.xingu.xg.po.query;

import com.xingu.xg.common.enums.LevelEnum;
import com.xingu.xg.common.enums.OrderByEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "添加同级节点 Query")
@Data
public class AddUpDownNodeQuery {

    @Schema(description = "当前选中ID")
    @NotNull(message = "当前选中ID不能为空")
    private Long selectedId;

    @Schema(description = "名称", required = true, example = "节点名称")
    private String name;

    @Schema(description = "级别枚举",required = true, example = "UP")
    @NotNull(message = "级别枚举不能为空")
    private LevelEnum levelEnum;

}